package link.gpt.service;

import link.gpt.pojo.Answers;

import java.util.List;

/**
 * @version V1.0A
 * @uthor gpt
 * @Project holiday_task
 * @Package link.gpt.service
 * @Description: ${TODO}
 * @Date 2021/10/7 16:56
 */
public interface AnswersService {


   /**
    * 根据问题id查询所有答案
    * @param qid
    * @return
    */
   List<Answers> findAllByQid(Integer qid);

   /**
    * 添加答案
    * @param answers
    * @return
    */
   int addAns(Answers answers);

}
